//
//  HomePageDetailVideoItemCell.h
//  ShowYork
//
//  Created by hxh on 2020/10/8.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomePageItemModel.h"
NS_ASSUME_NONNULL_BEGIN

@protocol HomePageDetailVideoItemCellDelegate <NSObject>

@optional
- (void)videoItemBeginDraging;
- (void)videoItemLongPressToolView;
- (void)videoItemFollowWithCurrentModel:(HomePageItemModel *)currentModel;
- (void)videoItemLikeWithCurrentModel:(HomePageItemModel *)currentModel;
- (void)videoItemDissWithCurrentModel:(HomePageItemModel *)currentModel;
- (void)videoItemUserInfoWithCurrentModel:(HomePageItemModel *)currentModel;
- (void)videoItemCommentWithCurrentModel:(HomePageItemModel *)currentModel;
- (void)videoItemTopicListWithCurrentModel:(HomeTagItemModel *)currentModel;
- (void)videoItemUpdateProgressValue:(CGFloat)value;
- (void)videoItemChangeProgressValue:(CGFloat)value;
- (void)videoItemScrollViewEnabale:(BOOL)isEnable;
@end

@interface HomePageDetailVideoItemCell : UITableViewCell
@property (nonatomic,weak)id<HomePageDetailVideoItemCellDelegate>delegate;
+ (instancetype)cellWithTableView:(UITableView *)tableView;
- (void)setItemModel:(HomePageItemModel *)itemModel indexPath:(NSIndexPath *)indexPath;
- (void)hideFooterView;
- (void)showFooterView;
- (void)updateProgressValue:(CGFloat)progress;
- (void)resetProgressValue;
@end

NS_ASSUME_NONNULL_END
